how to do a smart repair